package com.david.cms.dao;

import java.util.List;

import com.david.basic.model.Pager;
import com.david.cms.model.Channel;
import com.david.cms.model.ChannelDetails;

public interface IChannelDetailsDao {
	//添加
	public ChannelDetails add(ChannelDetails c);
	//修改
	public void update(ChannelDetails c);
	//删除
	public void delete(Long id);
	//查询
	public ChannelDetails getOne(Long id);
	//分页
	public Pager<ChannelDetails> getPager();
	//得到列表
	public List<ChannelDetails> getList();
}
